<template>
  <header class="header">
    {{title}}
  </header>
</template>
<style scoped>
.header{
  position: absolute;
  width: 100%;
  top: 0;
  height: 1.5rem;
  background: red;
  color: #fff;
  text-align: center;
  line-height: 1.5rem;
}

</style>
<script>
export default{
  data(){
    return{
      title:'1',
    }
  }
}
</script>